﻿using System;
using System.Threading;
using System.Threading.Tasks;
using NFine.Code;
using NFine.Web.App_Start;
using System.Web.Mvc;
using System.Web.Routing;
using NFine.Application.Biz;
using Quartz;
using Quartz.Impl;
using System.Collections.Specialized;
using NFine.Web.App_Start._01_Handler;
using NFine.Web.App_Start._02_Class;

namespace NFine.Web
{
    public class MvcApplication : System.Web.HttpApplication
    {
        
        /// <summary>
        /// 启动应用程序
        /// </summary>
        protected void Application_Start()
        {
            LogFactory.GetLogger("MvcApplication");
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            WeixinConfig.Register();
            //去掉每天返积分的情况
            //TimeRun example = new TimeRun();
            //example.Run().ConfigureAwait(false);

        }
    }
}